﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.DTO
{
    public class HouseDto
    {
        public int HouseId { get; set; }
        /// <summary>
        /// 房间名称
        /// </summary>
        public string HouseName { get; set; }
        /// <summary>
        /// 所属酒店
        /// </summary>
        [ForeignKey("HotelId")]
        public int HotelId { get; set; }
        /// <summary>
        /// 房型
        /// </summary>
        [ForeignKey("HotelTypeId")]
        public int HouseTypeId { get; set; }
        /// <summary>
        /// 房间图片
        /// </summary>
        public string HouseImg { get; set; }
        /// <summary>
        /// 是否含窗 1代表有2代表没有
        /// </summary>
        public int HaveWindow { get; set; }
        /// <summary>
        /// 是否含网
        /// </summary>
        public bool HaveWifi { get; set; }
        /// <summary>
        /// 房间面积
        /// </summary>
        /// <returns></returns>
        public decimal Arec { get; set; }
        /// <summary>
        /// 居住人数
        /// </summary>
        public int People { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string HouseTypeName { get; set; }
        /// <summary>
        /// 酒店名称
        /// </summary>
        public string HotelName { get; set; }
        /// <summary>
        /// 房间价格
        /// </summary>
        public decimal HousePrice { get; set; }
    }
}
